package com.neusoft.po;

import java.math.BigDecimal;

public class OrderDetailet {

    private Integer odId;
    private Integer orderId;
    private Integer foodId;
    private Integer quantity;
    private String foodName;
    private BigDecimal foodPrice;
    private BigDecimal deliveryPrice;

    //多对一：所属食品
//    private Food food;

    public Integer getOdId() {
        return odId;
    }

    public void setOdId(Integer odId) {
        this.odId = odId;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getFoodId() {
        return foodId;
    }

    public void setFoodId(Integer foodId) {
        this.foodId = foodId;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

//    public Food getFood() {
//        return food;
//    }
//
//    public void setFood(Food food) {
//        this.food = food;
//    }

    public String getFoodName(){
        return foodName;
    }

    public void setFoodName(String foodName){
        this.foodName = foodName;
    }

    public BigDecimal getFoodPrice(){
        return foodPrice;
    }

    public void setFoodPrice(BigDecimal foodPrice){
        this.foodPrice = foodPrice;
    }

    public BigDecimal getDeliveryPrice() {
        return deliveryPrice;
    }

    public void setDeliveryPrice(BigDecimal deliveryPrice) {
        this.deliveryPrice = deliveryPrice;
    }


}

